#!/usr/bin/env node
require('shelljs/global');
require('colors');
module.exports = function execCmd (cmd) {
    return new Promise ((resolve, reject) => {
        exec(cmd, function(code) {
            resolve(code);
        });
    });
}
